package com.sxbbc.common.core.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sxbbc.common.core.entity.jz.AgDonateDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sxbbc.common.core.utils.BasePage;

/**
 * <p>
 * 代理贡献值明细 服务类
 * </p>
 *
 * @author leehao
 * @since 2019-07-10
 */
public interface IAgDonateDetailService extends IService<AgDonateDetail> {

    IPage<AgDonateDetail> queryAgentDonateDetail(BasePage<AgDonateDetail> page, AgDonateDetail donate);

    /**
     * 通过代理ID更新
     * @param agAccount
     * @author leehao
     * @return boolean
     */
    boolean updateByAgid(AgDonateDetail donateDetail);
}
